package k2_oop.p2_inheritAndPolymorphic.demo01;

public class TestDemo1 {

    public static void main(String[] args) {
        //创建子类的实例化对象
        Son son = new Son();

        System.out.println(son.money);
        son.dance();
        System.out.println(son.age);
        System.out.println(son.chineseZodiac);

        son.study();

        System.out.println(son.house);


    }
}
